function cancelUpload(obj,filename,cancel_type){
	
	$.ajax({
		beforeSend : function() {
			$(obj).append('<img src="/assets/plugins/fileuploader/loading.gif" />');
		},
		type : "POST",
		url : "/image_uploader/cancelUpload",
		data: {
                filename: filename
        },
		cache : false,
		success : function(data) {
			$(obj).parent().html('<div class="empty-image"><img src="/assets/img/empty-image.png" width="117" height="80" /></div>');
		}
	}); 
		
}
